home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / userlist / 94-05 / text0000.txt < prev    next >
Encoding:
Text File  |  1994-05-12  |  1.9 KB  |  44 lines

  1. At 11:08 AM 4/30/94 -0400, paul@atlas.abccomp.oz.au wrote:
  2. >Thus expounded Jim Greuel X2493 on Apr 26, 6:44pm:
  3. >/--------------------
  4. >|Are there any winsock implementations which optimize local
  5. >|communications (i.e., communications in which the "remote"
  6. >|socket is actually on the local node) by using some local IPC
  7. >|mechanism rather than sending the data down the networking
  8. >|stack, ala Unix domain sockets? 
  9. >
  10. >Jim, 
  11. >What other IPC mechanism did you have in mind - sending a windows
  12. >message to yourself? :) Why go the long way round sending the data to 
  13. >yourself when you can simply pass it down your own code chain and
  14. >back up again? 
  15.  
  16. Not to gainsay the point above, which is valid enough in some cases, but...
  17.  
  18. Let's not forget, everybody, that a client may want to contact a server 
  19. w/out knowing at compile-time where the server resides at all, not even 
  20. whether or not it's on the same host as the client.
  21.  
  22. Unix apps rely on loopback to do this in a transparent fashion.  And lots of 
  23. folks are required to port Unix code to Windows.  Me, ferinstance.
  24.  
  25. So, let's keep this functionality in the API, and just implement it in the 
  26. DLL in an efficient way.
  27.  
  28. And while I'm ranting... we really should have BSD-style loopback in the 
  29. next Winsock spec.  I hate it when implementors say "oh, we don't have 
  30. loopback, and you've got no grounds for complaint because it's not spelled 
  31. out in the spec."
  32.  
  33. And don't forget, there are two styles of loopback in the BSD world - one 
  34. where you give an IP address that happens to be that of your host, and 
  35. another where you give an IP = 127.0.0.1.  The first is much more important, 
  36. IME, but thoroughness counts.
  37.  
  38. -------------------------------------------------------------------------
  39. neil_r@gradient.com    (Neil Rowland)
  40.                 "A simple man believes anything, but a prudent man gives
  41.                  thought to his steps."  Proverbs 14:15
  42. -------------------------------------------------------------------------
  43.  
  44.